// 电子签章-查询条件配置
export const formOption = {
    size: 'mini',
    inline: true,
    labelWidth: '160px',
    itemData: [
        {
            type: 'input',
            prop: 'prgCode',
            value: '',
            width: '',
            colSpan: 6,
            clearable: true,
            label: '项目编码'
        },
        {
            type: 'input',
            prop: 'projectName',
            value: '',
            width: '',
            colSpan: 6,
            clearable: true,
            label: '项目名称'
        },
        {
            type: 'datePicker',
            prop: 'prjYear',
            value: new Date().getFullYear().toString(),
            format: 'yyyy',
            width: '',
            colSpan: 6,
            valueFormat: 'yyyy',
            clearable: true,
            dateType: 'year',
            label: '项目年份'
        },
        {
            type: 'select',
            prop: 'isNewbusiness',
            value: '',
            width: '',
            colSpan: 6,
            label: '业务专业',
            dicType: 'IS_NEWBUSINESS',
            clearable: true,
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'select',
            prop: 'prjType',
            value: '',
            width: '',
            colSpan: 6,
            label: '项目类型',
            dicType: 'PROJ_TYPE',
            clearable: true,
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'select',
            prop: 'state',
            value: '',
            width: '',
            colSpan: 6,
            label: '签署状态',
            dicType: 'SIGN_STATE2',
            clearable: true,
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'select',
            prop: 'prjStatusNewList',
            value: [],
            width: '',
            colSpan: 6,
            label: '项目阶段',
            multiple: true,
            collapseTags: true,
            multipleLimit: 0,
            clearable: true,
            dicType: 'PRO_STAGE',
            dicProp: {
                label: 'value',
                value: 'key'
            }
        },
        {
            type: 'select',
            prop: 'nodeNameList',
            value: [],
            label: '项目节点',
            multiple: true,
            width: '',
            colSpan: 6,
            collapseTags: true,
            clearable: true,
            multipleLimit: 0,
            dicType: 'PRO_NODE',
            dicProp: {
                label: 'value',
                value: 'key'
            }
        },
        {
            type: 'select',
            prop: 'docType',
            value: '',
            label: '文件类型',
            width: '',
            colSpan: 6,
            dicType: 'DOC_TYPE',
            clearable: true,
            dicProp: {
                label: 'DOCNAME',
                value: 'DOCTYPE'
            }
        },
        {
            type: 'select',
            prop: 'fileState',
            value: '',
            width: '',
            colSpan: 6,
            label: '文件状态',
            clearable: true,
            dicType: 'FILE_STATE',
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        // {
        //     type: 'select',
        //     prop: 'state',
        //     value: '',
        //     width: '',
        //     colSpan: 6,
        //     label: '签署状态',
        //     clearable: true,
        //     dicType: 'SIGN_STATE2',
        //     dicProp: {
        //         label: 'dictName',
        //         value: 'dictId'
        //     }
        // },
        {
            type: 'select',
            prop: 'fileBs',
            value: '',
            width: '',
            colSpan: 6,
            clearable: true,
            label: '文件获取方式',
            dicType: 'FILE_UPLOAD_MODES',
            dicProp: {
                label: 'dictName',
                value: 'dictId'
            }
        },
        {
            type: 'slot',
            prop: 'orgIds',
            size: 'small',
            colSpan: 6,
            clearable: true,
            width: '',
            value: [],
            label: '建设单位'
        }
    ]
}

// 电子签章-列表表头配置
export const colOption = [
    { label: '项目编码', width: '', prop: 'prgCode' },
    { label: '项目名称', width: '', prop: 'projectName' },
    { label: '业务专业', width: '80', prop: 'isNewbusiness', dicType: 'IS_NEWBUSINESS', dicProp: { label: 'dictName', value: 'dictId' } },
    { label: '项目类型', width: '100', prop: 'prjType', dicType: 'PROJ_TYPE', dicProp: { label: 'dictName', value: 'dictId' } },
    { label: '当前办理节点', width: '180', prop: 'nodeName' },
    { label: '文件类型', width: '180', prop: 'docTypeName' },
    { label: '文件名称', width: '', prop: 'docName' },
    { label: '文件状态', width: '', prop: 'fileState',dicType: 'FILE_STATE', dicProp: { label: 'dictName', value: 'dictId' }},
    { label: '签署状态', width: '100', prop: 'state', dicType: 'SIGN_STATE2', dicProp: { label: 'dictName', value: 'dictId' } }
]

// 电子签章-列表按钮配置
export const btnOption = [
    { label: '选择', fun: 'prjAttachSelect', type: '' }
]

// 自定义字段设置-自定义字段
export const customCheckOption = [
    {
        prop: 'isReceive',
        label: '方案造价岗'
    },
    {
        prop: 'fieldProjectManager',
        label: '项目管理岗'
    },
    {
        prop: 'uploadEmpId',
        label: '文件上传人'
    },
    {
        prop: 'prjYear',
        label: '项目年份'
    },
    {
        prop: 'createTime',
        label: '创建时间',
        width: '140'
    },
    // {
    //     prop: 'signTime',
    //     label: '签署时间',
    //     width: '140'
    // },
    {
        prop: 'specialItem',
        label: '整治类型'
    },
    {
        prop: 'orgId',
        label: '建设单位',
        width: '140',
        dicType: 'BUILD_UNIT',
        dicProp: {
            label: 'orgName',
            value: 'orgId'
        }
    },
    {
        prop: 'siteId',
        label: '站址编码'
    },
    {
        prop: 'siteName',
        label: '站址名称'
    },
    {
        prop: 'buildModes',
        label: '建设方式',
        dicType: 'BUILD_MODES',
        dicProp: { label: 'dictName', value: 'dictId' }
    },
    {
        prop: 'prjStatusNew',
        label: '项目阶段',
        dicType: 'PRO_STAGE',
        dicProp: { label: 'value', value: 'key' }
    },
    {
        prop: 'fileBs',
        label: '文件获取方式',
        filter: { '0': '手动上传', '1': '系统生成', '2': '系统生成/手动编辑' }
    }
]
